package com.entity;

import java.util.Date;

import org.apache.ibatis.type.Alias;
import org.joda.time.DateTime;
/**
 * 新闻资讯表
 * @author MiBAO
 *
 */
@Alias("BaseInformation")
public class Information  extends BaseEntity{
	private static final long serialVersionUID = 1L;
	
	//编号
	private String id;
	//标题
	private String title;
	//发布时间
	private Date releaseTime;
	//发布人
	private String publisher;
	//新闻内容
	private String newsContent;
	//封面图片
	private String coverPhoto;
	//新闻栏目编号
	private String columnNumber;
	//新闻栏目名称
	private String columnName;
	//浏览数量
	private int browsingCount;
	//预留点赞字段
	private int goodField;
	//预留评论数量字段
	private String commentField;
	//String发布时间
	private String releaseTimeToString;
	
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public Date getReleaseTime() {
		return releaseTime;
	}
	public void setReleaseTime(Date releaseTime) {
		this.releaseTime = releaseTime;
	}
	public String getPublisher() {
		return publisher;
	}
	public void setPublisher(String publisher) {
		this.publisher = publisher;
	}
	public String getNewsContent() {
		return newsContent;
	}
	public void setNewsContent(String newsContent) {
		this.newsContent = newsContent;
	}
	public String getCoverPhoto() {
		return coverPhoto;
	}
	public void setCoverPhoto(String coverPhoto) {
		this.coverPhoto = coverPhoto;
	}
	public String getColumnNumber() {
		return columnNumber;
	}
	public void setColumnNumber(String columnNumber) {
		this.columnNumber = columnNumber;
	}
	public int getBrowsingCount() {
		return browsingCount;
	}
	public void setBrowsingCount(int browsingCount) {
		this.browsingCount = browsingCount;
	}
	public int getGoodField() {
		return goodField;
	}
	public void setGoodField(int goodField) {
		this.goodField = goodField;
	}
	public String getCommentField() {
		return commentField;
	}
	public void setCommentField(String commentField) {
		this.commentField = commentField;
	}
	public String getReleaseTimeToString() {
		return releaseTimeToString;
	}
	public void setReleaseTimeToString(String releaseTimeToString) {
		this.releaseTimeToString = releaseTimeToString;
	}
	public String getColumnName() {
		return columnName;
	}
	public void setColumnName(String columnName) {
		this.columnName = columnName;
	}
	@Override
	public String toString() {
		return "Information [id=" + id + ", title=" + title + ", releaseTime="
				+ releaseTime + ", publisher=" + publisher + ", newsContent="
				+ newsContent + ", coverPhoto=" + coverPhoto
				+ ", columnNumber=" + columnNumber + ", columnName="
				+ columnName + ", browsingCount=" + browsingCount
				+ ", goodField=" + goodField + ", commentField=" + commentField
				+ ", releaseTimeToString=" + releaseTimeToString + "]";
	}
	public static long getSerialversionuid() {
		return serialVersionUID;
	}
}